@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/user/student_add.js"]}){
<form id="userForm" lay-filter="userForm" class="layui-form model-form">
    <input name="userId" type="hidden"/>
    <input name="createUser" id="createUser" type="hidden"/>
    <div class="layui-form-item">
        <label class="layui-form-label">学校代码<span style="color: red;">*</span></label>
        <div class="layui-input-inline">
            <input name="schoolCode" id="schoolCode" type="text"
                   class="layui-input"  lay-verify="required" />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">学校名称<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="schoolName" id="schoolName" type="text"
                   class="layui-input"  lay-verify="required" disabled/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">所在班级<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="deptId" name="deptId" type="hidden">
            <input id="deptName" name="deptName" placeholder="请输入班级" type="text"
                   class="layui-input" lay-verify="required" required autocomplete="off"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">考生号<span style="color: red;">*</span></label>
        <div class="layui-input-inline">
            <input name="studentCode" id="studentCode" type="text" class="layui-input"  lay-verify="required" disabled/>
        </div>
        <button id="btn" type="button" class="layui-btn layui-btn-danger"><i class="layui-icon">&#xe608;</i> 自动获取</button>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">姓名<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="name" placeholder="请输入姓名" type="text"
                   class="layui-input" lay-verify="required" required/>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">性别</label>
        <div class="layui-input-block">
            <input type="radio" name="sex" value="M" title="男" checked/>
            <input type="radio" name="sex" value="F" title="女"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机号<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="account" placeholder="请输入账号" type="text"
                   class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">密码<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="password" placeholder="请输入密码" type="password"
                   class="layui-input" lay-verify="required|psw" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">重复密码<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="rePassword" placeholder="请输入重复密码" type="password"
                   class="layui-input" lay-verify="required|repsw" required/>
        </div>
    </div>

    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>

</form>
@}
